package com.hyl.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Description TODO
 * @Author com.com.hyl
 * @Date 2022/9/24 9:48
 **/
public class UserService {

	private String name;
	private int age;
	private List list;
	private Set set;
	private Map map;





	public UserService() {
	}

	public UserService(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public String show(String msg){
		System.out.println("进入show方法:"+msg);
		int tmp = 1/0;
		return "ok";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}

	public Set getSet() {
		return set;
	}

	public void setSet(Set set) {
		this.set = set;
	}

	public Map getMap() {
		return map;
	}

	public void setMap(Map map) {
		this.map = map;
	}
}
